<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2019/5/21
 * Time: 17:41
 */

namespace iBrand\Shop\Core\Processor;


class ShopRefundProcessor
{
    public function create($refund)
    {
        if ($refund->quantity > 0) {
            $refund->save();
            return $refund;
        }
        return false;
    }
}